$OpenBSD: patch-gcc_config_alpha_alpha_md,v 1.2 2016/09/01 17:30:33 pascal Exp $
--- gcc/config/alpha/alpha.md.orig	Wed May 18 21:53:16 2016
+++ gcc/config/alpha/alpha.md	Sat Aug  6 19:19:04 2016
@@ -4888,7 +4888,8 @@
   if (CONST_INT_P (operands[1])
       && INTVAL (operands[1]) < 32768)
     {
-      if (INTVAL (operands[1]) >= 4096)
+      if (INTVAL (operands[1]) >= 4096
+	&& (flag_stack_check || STACK_CHECK_BUILTIN))
 	{
 	  /* We do this the same way as in the prologue and generate explicit
 	     probes.  Then we update the stack by the constant.  */
